package com.open.api.wechat.common.request;


import com.open.api.wechat.common.WeChatCommonRequest;
import com.open.api.wechat.constants.WeChatAppUrlConstants;
import com.open.api.wechat.common.response.WeChatAccessTokenResponse;
import lombok.Data;

/**
 * @author : zhaoxuan
 * @version : 1.0
 * @date : 2021/6/30 23:45
 * @description : WeChatAppAccessTokenRequest
 */
@Data
public class WeChatAccessTokenRequest extends WeChatCommonRequest<WeChatAccessTokenResponse> {

    @Override
    public String getDefaultUrl() {
        return WeChatAppUrlConstants.WE_CHAT_ACCESS_TOKEN;
    }

    @Override
    public Class<WeChatAccessTokenResponse> getResponse() {
        return WeChatAccessTokenResponse.class;
    }
}
